package org.gy.T6;

import org.gy.T6.son.Teacher;


public class PeopleTest {
    public static void main(String[] args) {
// ⽬标：搞清楚继承的好处。
        Teacher t = new Teacher();
        t.setName("播仔");
        t.setSkill("Java、Spring");
        System.out.println(t.getName());
        System.out.println(t.getSkill());
        t.printInfo();
    }
}
